<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model {
	
	protected $guarded = array('id');
	
	public function book() {
		return $this->belongsTo('App\Models\Book');
	}
	
	public function member() {
		return $this->belongsTo('App\Models\Member');
	}
	
	public function section() {
		return $this->belongsTo('App\Models\Section');
	}
	
}
